Skip to content

Instantly share code, notes, and snippets.

@kyo-takano
kyo-takano / making-the-most-of-local-llms.ipynb
Last active May 11, 2024 16:19
ローカルLLMはこーやって使うの💢
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@dannberg
dannberg / obsidian-people-template.txt
Last active May 11, 2024 16:18
Dann Berg's People Template for Obsidian. Uses Dataview & Templater plugins. Should be saved as a Markdown file in Obsidian. See full tutorial for setup instructions: https://dannb.org/blog/2022/obsidian-people-note-template/
---
company:
location:
title:
email:
website:
aliases:
---
tags:: [[👥 People MOC]]
@saaiful
saaiful / gist:586e920310cd37d6c4ce
Last active May 11, 2024 16:16
বাংলায় গানিতিক সমস্যার সমাধান
function en2bn(input){
var en = ["1","2","3","4","5","6","7","8","9","0"];
var bn = ["১","২","৩","৪","৫","৬","৭","৮","৯","০"];
input = input.toString();
for( var i = 0; i < 10; i++)
{
var re = new RegExp(en[i], 'g');
input = input.replace(re,bn[i]);
}
return input;
@mjmenger
mjmenger / .bash_aliases
Last active May 11, 2024 16:14
bash aliases I like to have available
# Terraform aliases
# adding time to the commands because I'm very interested
# in how long these activities take with more complex builds
# across disparate platforms
alias tfi='terraform init'
alias tfp='time terraform plan'
alias tfa='time terraform apply'
alias tfaa='time terraform apply -auto-approve '
alias tfd='time terraform destroy'
alias tfda='time terraform destroy -auto-approve '
@nosmall
nosmall / Win_Server_2022_Evaluation_to_full_version.md
Created April 16, 2023 11:11
Upgrade Windows Server 2022 Evaluation (Eval) to Full Version Standard or Datacenter
@ChristianAlexander
ChristianAlexander / detect.livemd
Last active May 11, 2024 16:12
Face Detection in Elixir

Face Detection in Elixir

Mix.install(
  [
    {:evision, "~> 0.1"},
    {:kino, "~> 0.7"}
  ],
using module ActiveDirectory
using namespace System.Reflection
function Convert-ADFilter {
<#
.SYNOPSIS
Converts PowerShell-style filters used by the AD module into LDAP filters.
.DESCRIPTION
Convert-ADFilter uses the QueryParser from the AD module to convert PowerShell-style filters into LDAP
@keilmillerjr
keilmillerjr / Creating an AUR Package.md
Last active May 11, 2024 16:08
How to create and manage an AUR package. #AUR #ARCH #makepkg #PKGBUILD
@mdPlusPlus
mdPlusPlus / badblocks.txt
Last active May 11, 2024 16:05
How to check new hard drives with badblocks
badblocks -b 4096 -p 0 -s -t 0 -v -w DEVICE
-b block_size
-p num_passes
-s Show the progress of the scan
-t test_pattern
-v Verbose mode
-w Use write-mode test
@kennypete
kennypete / navigating_the_modes_of_Vim.md
Created April 18, 2024 20:46
Navigating the modes of Vim

Navigating the modes of Vim

This diagram illustrates navigating through Vim’s modes. It was built factoring Vim 9 (i.e., all its modes, including up to two new modes, cr and cvr, in November 2023). Information about the state() and 'showmode' is provided too.

SVG version

Some features are only available in the SVG version. It is not provided directly from within this gist’s files because SVGs do not always play nicely in GitHub (particularly, refusing to display embedded fonts).

The SVG version includes hover text help, which shows pertinent information about the underlying key, command, mode, etc.